﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Nasty.Boxs;

namespace Nasty
{
    public struct Origine //Lutin
    {
        public int x;
        public int y;
    }

    public struct PositionInFile //The position of the tile in the sprite file
    {
        public int groupNumber;
        public int spriteNumber;
    }

    public class Sprite
    {

        private int idSprite;
        private int sound;
        public List<CollisionBox> collisionBoxs = new List<CollisionBox>();
        public List<HitBox> hitBoxs = new List<HitBox>();

        public Origine lutin;
        public PositionInFile position;

        #region accessors
        public int IdSprite
        {
            get
            {
                return idSprite;
            }
            set
            {
                idSprite = value;
            }
        }
        public int Sound
        {
            get
            {
                return sound;
            }
            set
            {
                sound = value;
            }
        }

        #endregion
    }
}
